import type { MockConfig, MockMethod } from "vite-plugin-mock";


import baseResponse from "./base";

export default (config?: MockConfig) => {
  return [
    {
      url: "/api/getTopList",
      method: "get",
      response: ({ body }: { body: any }) => {
        const data = {
          "topList": [
            {
              "id": 62,
              "pic": "/images/rank/T003R300x300M000003OOcdq1wEIwZ.jpg",
              "name": "飙升榜",
              "period": "2024-08-15",
              "songList": [
                {
                  "id": 456712247,
                  "singerName": "袁娅维TIA RAY",
                  "songName": "偶像的黄昏（TAKE IT EASY)"
                },
                {
                  "id": 102204539,
                  "singerName": "周传雄",
                  "songName": "青花"
                },
                {
                  "id": 102436266,
                  "singerName": "刘瑞琦",
                  "songName": "房间"
                }
              ]
            },
            {
              "id": 26,
              "pic": "/images/rank/T003R300x300M00000031kl62EbA61.jpg",
              "name": "热歌榜",
              "period": "2024-08-15",
              "songList": [
                {
                  "id": 205137019,
                  "singerName": "Ayo97/周思涵",
                  "songName": "感谢你曾来过"
                },
                {
                  "id": 102204539,
                  "singerName": "周传雄",
                  "songName": "青花"
                },
                {
                  "id": 465608024,
                  "singerName": "王宇宙Leto/乔浚丞",
                  "songName": "若月亮没来 (若是月亮还没来)"
                }
              ]
            },
            {
              "id": 27,
              "pic": "/images/rank/T003R300x300M000001w3O360FPeGC.jpg",
              "name": "新歌榜",
              "period": "2024-08-15",
              "songList": [
                {
                  "id": 505398303,
                  "singerName": "en",
                  "songName": "情歌"
                },
                {
                  "id": 503955283,
                  "singerName": "吕口口",
                  "songName": "放纵L"
                },
                {
                  "id": 506490629,
                  "singerName": "JelloRio李佳隆/小咪Misir/skyslimsKyoA",
                  "songName": "LOVE SONG"
                }
              ]
            },
            {
              "id": 4,
              "pic": "/images/rank/T003R300x300M0000019oJ8A2Oh9Ys.jpg",
              "name": "流行指数榜",
              "period": "2024-08-15",
              "songList": [
                {
                  "id": 102204539,
                  "singerName": "周传雄",
                  "songName": "青花"
                },
                {
                  "id": 491538633,
                  "singerName": "杨宗纬/宝石Gem/王宇宙Leto",
                  "songName": "若月亮没来 (Live)"
                },
                {
                  "id": 507662097,
                  "singerName": "贺峻霖",
                  "songName": "谧境"
                }
              ]
            },
            {
              "id": 52,
              "pic": "/images/rank/T003R300x300M000002aCuH90kqRGb.jpg",
              "name": "腾讯音乐人原创榜",
              "period": "2024-08-14",
              "songList": [
                {
                  "id": 499361761,
                  "singerName": "椿乐队",
                  "songName": "少年穷"
                },
                {
                  "id": 505117439,
                  "singerName": "幸儿ECHASL",
                  "songName": "Come! Come! Run&Run!"
                },
                {
                  "id": 506676395,
                  "singerName": "上海彩虹室内合唱团",
                  "songName": "净光山晨景"
                }
              ]
            },
            {
              "id": 67,
              "pic": "/images/rank/T003R300x300M00000206ahg3wvwZZ.jpg",
              "name": "听歌识曲榜",
              "period": "2024-08-15",
              "songList": [
                {
                  "id": 506175827,
                  "singerName": "Mikann耙耙柑",
                  "songName": "彩虹"
                },
                {
                  "id": 102204539,
                  "singerName": "周传雄",
                  "songName": "青花"
                },
                {
                  "id": 501058449,
                  "singerName": "浅影阿",
                  "songName": "探故知 (DJlucky小阳版)"
                }
              ]
            },
            {
              "id": 201,
              "pic": "/images/rank/T003R300x300M000003sHUwy3yAhui.jpg",
              "name": "MV榜",
              "period": "",
              "songList": [
                {
                  "id": 0,
                  "singerName": "蔡徐坤",
                  "songName": "KUN 2024 ART LAB LIVE——《Remedy》"
                },
                {
                  "id": 0,
                  "singerName": "刘宇",
                  "songName": "光火"
                },
                {
                  "id": 0,
                  "singerName": "(G)I-DLE",
                  "songName": "'Klaxon' MV"
                }
              ]
            },
            {
              "id": 5,
              "pic": "/images/rank/T003R300x300M000002o6qyb2fAGKz.jpg",
              "name": "内地榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 505398303,
                  "singerName": "en",
                  "songName": "情歌"
                },
                {
                  "id": 498447185,
                  "singerName": "小野来了",
                  "songName": "童话镇"
                },
                {
                  "id": 490096816,
                  "singerName": "吉星出租",
                  "songName": "暮色回响"
                }
              ]
            },
            {
              "id": 59,
              "pic": "/images/rank/T003R300x300M000004KWfQe3m4AAa.jpg",
              "name": "香港地区榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 505496969,
                  "singerName": "李克勤/林依轮/梁龙/王铮亮/严屹宽/EXILE-AKIRA (黒澤良平)/雅MIYAVI (石原崇雅)/袁成杰/徐海乔/沈震轩/李泽锋/向佐/秦昊/蔡旻佑/付辛博/韦礼安/杜海涛/凤小岳/JA符龙飞/黄潇/胡夏/熊梓淇/李佳琦/早安/宁桓宇/阿如那/朱星杰/王一哲/尤长靖/焦迈奇/井胧/高卿尘Nine/石凯/庆怜/披荆斩棘第四季",
                  "songName": "时间的答案"
                },
                {
                  "id": 506667315,
                  "singerName": "李克勤",
                  "songName": "舍得"
                },
                {
                  "id": 495571989,
                  "singerName": "Mike 曾比特",
                  "songName": "一生何求"
                }
              ]
            },
            {
              "id": 61,
              "pic": "/images/rank/T003R300x300M0000037j1WJ3WinDe.jpg",
              "name": "台湾地区榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 506695590,
                  "singerName": "徐怀钰",
                  "songName": "小事情"
                },
                {
                  "id": 506482035,
                  "singerName": "吴克群",
                  "songName": "原来只能走到这"
                },
                {
                  "id": 498219796,
                  "singerName": "张韶涵",
                  "songName": "暮色回响"
                }
              ]
            },
            {
              "id": 3,
              "pic": "/images/rank/T003R300x300M000000htoTb3ppxNM.jpg",
              "name": "欧美榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 506803410,
                  "singerName": "Cody Fry/希林娜依高",
                  "songName": "Things You Said"
                },
                {
                  "id": 504994232,
                  "singerName": "Michael Learns To Rock/周传雄",
                  "songName": "That's Why You Go Away (中文版）"
                },
                {
                  "id": 498765272,
                  "singerName": "Jasmine Kelly/lushroom/sanjay.",
                  "songName": "Dancing in the Dark"
                }
              ]
            },
            {
              "id": 16,
              "pic": "/images/rank/T003R300x300M000003lQ74Y4OMgAn.jpg",
              "name": "韩国榜",
              "period": "2024_32",
              "songList": [
                {
                  "id": 497504945,
                  "singerName": "BABYMONSTER",
                  "songName": "FOREVER"
                },
                {
                  "id": 506505619,
                  "singerName": "SUPER JUNIOR-D&E (东海 & 银赫)/始源 (시원)/周觅/厉旭 (려욱)/圭贤 (규현)",
                  "songName": "约定 (with 시원, 조미, 려욱, 규현)"
                },
                {
                  "id": 496388914,
                  "singerName": "李泳知 (이영지)/D.O. (都暻秀)",
                  "songName": "Small girl (feat. 도경수(D.O.))"
                }
              ]
            },
            {
              "id": 17,
              "pic": "/images/rank/T003R300x300M000000ogxOZ1LnOZt.jpg",
              "name": "日本榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 504500958,
                  "singerName": "米津玄師 (よねづ けんし)",
                  "songName": "RED OUT"
                },
                {
                  "id": 505564175,
                  "singerName": "&TEAM",
                  "songName": "Aoarashi"
                },
                {
                  "id": 506018762,
                  "singerName": "YOASOBI (ヨアソビ)",
                  "songName": "On the Stage"
                }
              ]
            },
            {
              "id": 126,
              "pic": "/images/rank/T003R300x300M000001qjH2M3JGGHG.jpg",
              "name": "JOOX本地热播榜",
              "period": "2024_32",
              "songList": [
                {
                  "id": 503135900,
                  "singerName": "洪嘉豪",
                  "songName": "拜托"
                },
                {
                  "id": 503800739,
                  "singerName": "Nancy Kwai",
                  "songName": "Let go"
                },
                {
                  "id": 497485385,
                  "singerName": "Ian 陈卓贤",
                  "songName": "以孤独命名"
                }
              ]
            },
            {
              "id": 130,
              "pic": "/images/rank/T003R300x300M000000cVzko0EdwQs.jpg",
              "name": "香港TVB劲歌金榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 493051877,
                  "singerName": "莫文蔚/Karen Mok & The Masters",
                  "songName": "一身焰火去罗马"
                },
                {
                  "id": 496298003,
                  "singerName": "林家谦",
                  "songName": "有你听我的故事"
                },
                {
                  "id": 496572192,
                  "singerName": "冼靖峰",
                  "songName": "无意冒犯"
                }
              ]
            },
            {
              "id": 127,
              "pic": "/images/rank/T003R300x300M000003FFLJq1CkuXa.jpg",
              "name": "台湾KKBOX榜",
              "period": "2024_32",
              "songList": [
                {
                  "id": 504270221,
                  "singerName": "梁文音",
                  "songName": "短痛不如长痛"
                },
                {
                  "id": 498549892,
                  "singerName": "陈忻玥",
                  "songName": "我快乐吗"
                },
                {
                  "id": 498179505,
                  "singerName": "Ozone",
                  "songName": "最最靠近爱情的那天"
                }
              ]
            },
            {
              "id": 58,
              "pic": "/images/rank/T003R300x300M0000001q9sT2uIjyy.jpg",
              "name": "说唱榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 506490629,
                  "singerName": "JelloRio李佳隆/小咪Misir/skyslimsKyoA",
                  "songName": "LOVE SONG"
                },
                {
                  "id": 504317333,
                  "singerName": "宝石Gem/陈泽",
                  "songName": "这世界我来过"
                },
                {
                  "id": 503993737,
                  "singerName": "Capper/LEGGO",
                  "songName": "喜鹊 Magpie"
                }
              ]
            },
            {
              "id": 57,
              "pic": "/images/rank/T003R300x300M000002WT6Ih4bh1S9.jpg",
              "name": "电音榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 506537344,
                  "singerName": "Aydin/Yuya",
                  "songName": "夏夜恋"
                },
                {
                  "id": 495315551,
                  "singerName": "Alan Walker/Anne Gudrun",
                  "songName": "End of The World"
                },
                {
                  "id": 498765272,
                  "singerName": "Jasmine Kelly/lushroom/sanjay.",
                  "songName": "Dancing in the Dark"
                }
              ]
            },
            {
              "id": 73,
              "pic": "/images/rank/T003R300x300M000002rLVXV2twWAX.jpg",
              "name": "游戏音乐榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 506698002,
                  "singerName": "虞书欣/和平精英",
                  "songName": "星·空投"
                },
                {
                  "id": 495315551,
                  "singerName": "Alan Walker/Anne Gudrun",
                  "songName": "End of The World"
                },
                {
                  "id": 506182503,
                  "singerName": "薛之谦",
                  "songName": "解解闷"
                }
              ]
            },
            {
              "id": 72,
              "pic": "/images/rank/T003R300x300M000002QTroo0fEjWJ.jpg",
              "name": "动漫音乐榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 506801855,
                  "singerName": "张喆/郭好为",
                  "songName": "何须问"
                },
                {
                  "id": 497503569,
                  "singerName": "GEMN/中島健人 (なかじま けんと)/キタニタツヤ",
                  "songName": "ファタール - Fatal"
                },
                {
                  "id": 506220609,
                  "singerName": "陈乐一",
                  "songName": "未归人"
                }
              ]
            },
            {
              "id": 29,
              "pic": "/images/rank/T003R300x300M000004QI3lr1FCHDa.jpg",
              "name": "影视金曲榜",
              "period": "2024_32",
              "songList": [
                {
                  "id": 498219796,
                  "singerName": "张韶涵",
                  "songName": "暮色回响"
                },
                {
                  "id": 489447473,
                  "singerName": "10CM",
                  "songName": "봄눈 (Spring Snow) (春雪)"
                },
                {
                  "id": 504080563,
                  "singerName": "*NSYNC",
                  "songName": "Bye Bye Bye"
                }
              ]
            },
            {
              "id": 64,
              "pic": "/images/rank/T003R300x300M000003Co2XY4MJu0k.jpg",
              "name": "综艺新歌榜",
              "period": "2024_32",
              "songList": [
                {
                  "id": 491538633,
                  "singerName": "杨宗纬/宝石Gem/王宇宙Leto",
                  "songName": "若月亮没来 (Live)"
                },
                {
                  "id": 471040573,
                  "singerName": "汪苏泷/单依纯",
                  "songName": "如果爱忘了 (Live)"
                },
                {
                  "id": 497493782,
                  "singerName": "张碧晨/李承铉",
                  "songName": "暮色回响 (Live)"
                }
              ]
            },
            {
              "id": 65,
              "pic": "/images/rank/T003R300x300M0000040VceK2x8mlv.jpg",
              "name": "国风热歌榜",
              "period": "2024_32",
              "songList": [
                {
                  "id": 504523430,
                  "singerName": "空城/祥嘞嘞/执素兮/倪浩毅/边靖婷/大门E/闻人听書_",
                  "songName": "《尽燃》——2024巴黎奥运会中国代表团助力曲"
                },
                {
                  "id": 503137128,
                  "singerName": "刘宇",
                  "songName": "似梦"
                },
                {
                  "id": 486829924,
                  "singerName": "王唯旖",
                  "songName": "无情画 (愿为你放下万千的荣华)"
                }
              ]
            },
            {
              "id": 36,
              "pic": "/images/rank/T003R300x300M000003LwQ180DDYkR.jpg",
              "name": "K歌金曲榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 102065750,
                  "singerName": "周杰伦",
                  "songName": "搁浅"
                },
                {
                  "id": 330977131,
                  "singerName": "韦礼安",
                  "songName": "如果可以"
                },
                {
                  "id": 336582682,
                  "singerName": "毛不易",
                  "songName": "无名的人"
                }
              ]
            },
            {
              "id": 63,
              "pic": "/images/rank/T003R300x300M000004cVEmi1cM8Re.jpg",
              "name": "DJ舞曲榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 501220851,
                  "singerName": "鱼仔",
                  "songName": "半点心 (DJ女版)"
                },
                {
                  "id": 482050115,
                  "singerName": "尤宏pro",
                  "songName": "记忆中你对我最好了"
                },
                {
                  "id": 461527362,
                  "singerName": "井胧",
                  "songName": "天下 (DJ版)"
                }
              ]
            },
            {
              "id": 28,
              "pic": "/images/rank/T003R300x300M0000033Gm2r2vrC4c.jpg",
              "name": "网络歌曲榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 506716147,
                  "singerName": "半吨兄弟",
                  "songName": "见一面少一面"
                },
                {
                  "id": 503953344,
                  "singerName": "王梓屹",
                  "songName": "两袖清风怎敢误你余生"
                },
                {
                  "id": 494024738,
                  "singerName": "王一佳",
                  "songName": "有风无风皆自由"
                }
              ]
            },
            {
              "id": 108,
              "pic": "/images/rank/T003R300x300M000001Jnuon2Mqx5w.jpg",
              "name": "美国公告牌榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 481897486,
                  "singerName": "Shaboozey",
                  "songName": "A Bar Song (Tipsy) (Explicit)"
                },
                {
                  "id": 488620923,
                  "singerName": "Post Malone/Morgan Wallen",
                  "songName": "I Had Some Help"
                },
                {
                  "id": 487685426,
                  "singerName": "Kendrick Lamar",
                  "songName": "Not Like Us (Explicit)"
                }
              ]
            },
            {
              "id": 129,
              "pic": "/images/rank/T003R300x300M000004ILDK70g7wpc.jpg",
              "name": "韩国Melon榜",
              "period": "2024_32",
              "songList": [
                {
                  "id": 488428556,
                  "singerName": "aespa (에스파)",
                  "songName": "Supernova"
                },
                {
                  "id": 491308406,
                  "singerName": "NewJeans (뉴진스)",
                  "songName": "How Sweet"
                },
                {
                  "id": 494966354,
                  "singerName": "(G)I-DLE ((여자)아이들)",
                  "songName": "클락션 (Klaxon)"
                }
              ]
            },
            {
              "id": 107,
              "pic": "/images/rank/T003R300x300M00000088jor234a3b.jpg",
              "name": "英国UK榜",
              "period": "2024_33",
              "songList": [
                {
                  "id": 505977846,
                  "singerName": "Charli xcx/Billie Eilish",
                  "songName": "Guess featuring Billie Eilish"
                },
                {
                  "id": 494160500,
                  "singerName": "Sabrina Carpenter",
                  "songName": "Please Please Please (Explicit)"
                },
                {
                  "id": 481676420,
                  "singerName": "Chappell Roan",
                  "songName": "Good Luck, Babe!"
                }
              ]
            },
            {
              "id": 105,
              "pic": "/images/rank/T003R300x300M000003E1IwA4Nb7Uy.jpg",
              "name": "日本公信榜",
              "period": "2024_32",
              "songList": [
                {
                  "id": 494757415,
                  "singerName": "=LOVE (イコールラブ)",
                  "songName": "絶対アイドル辞めないで"
                },
                {
                  "id": 502781927,
                  "singerName": "LIL LEAGUE from EXILE TRIBE",
                  "songName": "Youth Spark"
                },
                {
                  "id": 483063938,
                  "singerName": "Mrs. GREEN APPLE",
                  "songName": "ライラック (丁香)"
                }
              ]
            },
            {
              "id": 128,
              "pic": "/images/rank/T003R300x300M000002kZ8TP2beclJ.jpg",
              "name": "YouTube音乐排行榜",
              "period": "2024_27",
              "songList": [
                {
                  "id": 487685426,
                  "singerName": "Kendrick Lamar",
                  "songName": "Not Like Us (Explicit)"
                },
                {
                  "id": 481897486,
                  "singerName": "Shaboozey",
                  "songName": "A Bar Song (Tipsy) (Explicit)"
                },
                {
                  "id": 485710241,
                  "singerName": "Tommy Richman",
                  "songName": "MILLION DOLLAR BABY"
                }
              ]
            }
          ]
        };
        return baseResponse.success(data);
      }
    }
  ] as MockMethod[];
};